<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
<style>
    .sun{
        margin: 20px 0 20px 500px;
        width: 10%;
        height: 40px;
    }
    .sun2{
        margin: 20px 0 20px 500px;
    }
</style>
</head>
<body>
<form th:action="@{/index/add}" method="post">
    <div><input class="sun" name="name" placeholder="名称"/></div>
    <div><input class="sun" name="GDP" placeholder="GDP"/></div>
    <div><input class="sun" name="capital" placeholder="首都"/></div>
    <div><input class="sun" name="people" placeholder="人口"/></div>
    <div><input class="sun2"  type="submit" value="提交"></div>
</form>
</body>
</html>